package hotel.callback.oversea.mapper;

import hotel.callback.oversea.entity.meituan.MtHotelGoodsInfoNotifyLog;
import hotel.base.oversea.repository.MyMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;

import java.util.List;

/**
 * 美团酒店产品库存信息日志
 * @Author qiuyy
 * @Date 2020/5/19
 **/
public interface MtHotelGoodsInfoNotifyLogMapper extends MyMapper<MtHotelGoodsInfoNotifyLog> {

    /**
     * 批量新增
     * @param nowDate 20201014
     * @param list
     * @return
     */
    int batchInsertList(@Param("nowDate") String nowDate, @Param("list") List<MtHotelGoodsInfoNotifyLog> list);

    /**
     * 建表
     * @param createTabelSql
     */
    @Update("${createTabelSql}")
    void createTable(@Param("createTabelSql") String createTabelSql);

}
